home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Protect Images.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
1KB
|
59 lines
[SUBJECT]
Description=Protect images to be saved on the disk
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<!-- This script and many more are available free online at -->
;<!-- The JavaScript Source!! http://javascript.internet.com -->
;
;<script language="JavaScript">
;
;<!-- Begin
;function protect(evt)
;{
; if (navigator.appName != 'Microsoft Internet Explorer')
; {
; if (evt.which != 3)
; return true;
; };
; alert("`message`");
; return false;
;}
;
;
;function trap()
;{
; if(document.images)
; {
; if(navigator.appName != 'Microsoft Internet Explorer')
; {
; for(i=0;i<document.images.length;i++)
; document.images[i].onmousedown = protect;
; }
; else
; {
; for(i=0;i<document.images.length;i++)
; document.images[i].oncontextmenu = protect;
; }
; }
;}
;
;// End -->
;</script>
;
[BODY_TAG]
;onLoad="trap()"
[BODY_TEXT]
;
[`message`]
Kind=S
Value=Sorry, you don't have permission to right-click.